#{extends 'front.html' /}


<div class="banner">
	#{get 'banner'/}
	#{if banner==null}
	<img src="@{'public/images/intropage.jpg'}">
	#{/if}
</div>
<div class="row">
	<div class="span8">
		<div class="well textInfo">
			#{doLayout/}
		</div>
	</div>
	<div class="span4">
		<div class="onlineSupport">
			<!-- LiveZilla Chat Button Link Code (ALWAYS PLACE IN BODY ELEMENT) --><a href="javascript:void(window.open('http://im.dentalseller.com/chat.php','','width=590,height=610,left=0,top=0,resizable=yes,menubar=no,location=no,status=yes,scrollbars=yes'))"><img src="http://im.dentalseller.com/image.php?id=02&amp;type=inlay" width="300" height="120" border="0" alt="LiveZilla Live Help"></a><!-- http://www.LiveZilla.net Chat Button Link Code --><!-- LiveZilla Tracking Code (ALWAYS PLACE IN BODY ELEMENT) --><div id="livezilla_tracking" style="display:none"></div><script type="text/javascript">
			var script = document.createElement("script");script.type="text/javascript";var src = "http://im.dentalseller.com/server.php?request=track&output=jcrpt&nse="+Math.random();setTimeout("script.src=src;document.getElementById('livezilla_tracking').appendChild(script)",1);</script><noscript><img src="http://im.dentalseller.com/server.php?request=track&amp;output=nojcrpt" width="0" height="0" style="visibility:hidden;" alt=""></noscript><!-- http://www.LiveZilla.net Tracking Code -->
		</div>
		#{get 'rightBlock'/}
		%{if(!rightBlock){}%
		<div class="lastnews">
			<div class="header">Request additional information</div>
			#{ifErrors}
			   <div class="alert alert-error">Oops… Please correct the error first.
			   <ul>
			    #{errors}
			       <li>${error}</li>
			   #{/errors}
			   </ul>
			   </div>
			#{/ifErrors}
			#{if flash.success}
			   <div class="alert alert-success">
					${flash.success}
				</div>
			#{/if}
			<form class="form-horizontal" action="@{sendMessage}" method="post">
				<div class="msgForm">
					<input type="text" id="inputName" name="msg.name" value="${flash['msg.name']}" placeholder="Name">
					<input type="text" id="inputMail" name="msg.email" placeholder="Email">
					<input type="text" id="inputCountry" name="msg.country" placeholder="Country">
					<textarea cols="20" rows="5" id="inputMessage" name="msg.message" placeholder="Message"></textarea>
					<button type="submit" class="btn btn-primary">Send</button>
				</div>
			  <div class="message">Your information will be kept strictly confidential.</div>
			</form>
		</div>
		%{}}%
		<div class="well">
			<form action="http://translate.google.com/translate"
				class="form-inline">
				<input name="u" id="url" value="http://www.dental-spark.com/"
					type="hidden" /> <input name="sl" value="en" type="hidden" />
				<h4>Translate to:</h4>
				<select name="tl" style="width: auto">
					<option value="ar">Arabic</option>
					<option value="bg">Bulgarian</option>
					<option value="ca">Catalan</option>
					<option value="zh-CN">Chinese (Simplified)</option>
					<option value="zh-TW">Chinese (Traditional)</option>
					<option value="hr">Croatian</option>
					<option value="cs">Czech</option>
					<option value="da">Danish</option>
					<option value="nl">Dutch</option>
					<option value="tl">Filipino</option>
					<option value="fi">Finnish</option>
					<option value="fr">French</option>
					<option value="de">German</option>
					<option value="el">Greek</option>
					<option value="iw">Hebrew</option>
					<option value="hi">Hindi</option>
					<option value="id">Indonesian</option>
					<option value="it">Italian</option>
					<option value="ja">Japanese</option>
					<option value="ko">Korean</option>
					<option value="lv">Latvian</option>
					<option value="lt">Lithuanian</option>
					<option value="no">Norwegian</option>
					<option value="pl">Polish</option>
					<option value="pt">Portuguese</option>
					<option value="ro">Romanian</option>
					<option value="ru">Russian</option>
					<option value="sr">Serbian</option>
					<option value="sk">Slovak</option>
					<option value="sl">Slovenian</option>
					<option value="es">Spanish</option>
					<option value="sv">Swedish</option>
					<option value="uk">Ukrainian</option>
					<option value="vi">Vietnamese</option>
				</select> <input name="hl" value="en" type="hidden" /> <input name="ie"
					value="UTF-8" type="hidden" />
				<script type="text/javascript">					var thestr = window.location.href;
					var mystrlen = 27;
					var sresult = thestr.indexOf( "http://www.dental-spark.com" );
					if( sresult == -1 || sresult >= mystrlen) {
						document.write( '<input value="Translate" type="submit" id="translate_submit" disabled /> ' );
						document.write( '<a href="" target="_top" >return to original</a>' );
					}else{
						document.write( '<input class="btn btn-primary" value="Translate" type="submit" id="translate_submit"  />' );
					}
					--></script>
			</form>
		</div>

		<div class="snsIcon">
			<a href="msnim:add?contact=yanxw2005@hotmail.com"><img src="@{'public/images/sns/msn.gif'}" border="0"></a> 
			<a href="skype:jamesyanxw?call"><img src="@{'public/images/sns/skype.gif'}" border="0"></a> 
			<a href="https://twitter.com/dentalspark" target="_blank"><img src="@{'public/images/sns/twitter.gif'}" border="0"></a> 
			<a href="http://www.facebook.com/dentalseller" target="_blank"><img	src="@{'public/images/sns/facebook.gif'}" border="0"></a>
		</div>
	</div>
</div>